import { Component, OnInit } from '@angular/core';
import {Router,ActivatedRoute} from "@angular/router";

@Component({
  selector: 'app-my-grade',
  templateUrl: './my-grade.component.html',
  styleUrls: ['./my-grade.component.css'],
})
export class MyGradeComponent  implements OnInit {
 classGuid:string = null;

  constructor(
    private routerInfo:ActivatedRoute,
  ) { }

  ngOnInit() {
  this.classGuid = this.routerInfo.snapshot.params.classGuid;
  }

}
